﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MoetutuServer.Helper.Currency;

namespace MoetutuServer.Helper
{
    public partial class UserHeplerControl : UserControl
    {
        public UserHeplerControl()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            WebSite.ZeroChan.TagHelper.Scanner(Currency.SelectFile.FileSelect());
        }

        private void button2_Click(object sender, EventArgs e)
        {
            OperationLog.Scanner(Currency.SelectFile.FileSelect());
        }

    
        static string RomaKeywordFilePath = StaticValue.BinPath + "待添加Roma词库.txt";

        private void button4_Click(object sender, EventArgs e)
        {
            Console.WriteLine(RomaKeywordFilePath);
            FileHelper.FileExits(RomaKeywordFilePath, true);
            FloderHelper.OpenFloder(RomaKeywordFilePath);
        }
        private void button3_Click(object sender, EventArgs e)
        {
            WebSite.PicServer.TagUpdate.TagUpdateHelper.BatchModifyForRoma(RomaKeywordFilePath);
        }
    }
}
